package com.j3l11234.myy_sign.controller;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	@Autowired
	private SessionFactory sessionFactory;

	@RequestMapping("/index")
    public Object index() { 
        return "index";
    }
	
	@RequestMapping("/noPrivilege")
    public Object noPrivilege() { 
        return "noPrivilege";
    }
	
}
